package com.css.dzj.zfjg.modules.supervisionreportinfo.service;

import com.css.dzj.zfjg.modules.supervisioncompinfo.vo.JgTsMsg;
import com.css.dzj.zfjg.modules.supervisionreportinfo.entity.JgFbJgjbEntity;
import com.css.dzj.zfjg.modules.supervisionreportinfo.entity.JgTsjbReportInfoEntity;
import com.css.dzj.zfjg.modules.supervisionreportinfo.vo.ReportMsg;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;

public interface JgFbReportService {

    /**
     * 分页监管举报信息
     */
    QueryResults<ReportMsg> getReportEntity(Pageable pageable, String tipTerritory, String tipObject, String fbBureau, String fbDepartment,
                                            String tipType, String name, String taskState, String receiveStartTime,
                                            String receiveEndTime);


    /**
     * 监管举报信息
     */
    JgTsjbReportInfoEntity findReportInfo(String registerCode);
    /**
     * 监管任务分办详情
     */
    JgFbJgjbEntity findRegister(String registerCode);

    /**
     * 添加分办信息
     * @param jgFbJgjbEntity
     */
    void add(JgFbJgjbEntity jgFbJgjbEntity, HttpServletRequest request);
    /**
     * 修改分办信息
     * @param jgFbJgjbEntity
     */
    void fbupdate(JgFbJgjbEntity jgFbJgjbEntity,HttpServletRequest request);
    /**
     * 修改监管举报信息
     * @param jgTsjbReportInfoEntity
     */
    void update(JgTsjbReportInfoEntity jgTsjbReportInfoEntity, HttpServletRequest request);
    /**
     * 任务办理修改监管投诉信息
     * @param jgTsjbReportInfoEntity
     */
    void updatejb(JgTsjbReportInfoEntity jgTsjbReportInfoEntity, HttpServletRequest request,String flag);

}
